﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="report4.aspx.cs" Inherits="VisualWebGuiApplication2.report4" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
    Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">



    <div>
       
        <asp:ScriptManager ID="ScriptManager1" runat="server">
        </asp:ScriptManager>
 

   
        <rsweb:ReportViewer ID="reportViewer1" runat="server" Font-Names="Verdana" 
            Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
            WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Height="1122px" 
            Width="800px"  ShowPrintButton="true" ShowFindControls="False" 
            ShowPageNavigationControls="False" >
            <LocalReport ReportPath="Reports\ReportTankInvoice.rdlc">
                <DataSources>
                    <rsweb:ReportDataSource DataSourceId="EntityDataSource1" Name="DataSet1" />
                </DataSources>
            </LocalReport>
        </rsweb:ReportViewer>
        <asp:EntityDataSource ID="EntityDataSource1" runat="server" 
            ConnectionString="name=GazOnDevEntities" 
            DefaultContainerName="GazOnDevEntities" EnableFlattening="False" 
            EntitySetName="Tank_Stocks" EntityTypeFilter="Tank_Stocks">
        </asp:EntityDataSource>
        <asp:ObjectDataSource ID="ReportDatasource" runat="server">
        </asp:ObjectDataSource>
    </div>
    <iframe id="frmPrint" name="IframeName" width="500" 
  height="200" runat="server" 
   runat="server"></iframe>
    </form>
</body>
</html>
